package com.vc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.vc.model.entity.BmsComment;
import com.vc.model.vo.CommentVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BmsCommentMapper extends BaseMapper<BmsComment> {
    // 获取帖子所有的评论
    List<CommentVO> getCommentsByTopicID(@Param("topicid") String topicid);
}
